#include "File.h"

char *CReader::m_pReadPath;  

void CReader::SetReadPath( const char * filePath )
{

}

const char * CReader::GetReadPath()
{
	return m_pReadPath; 
} 

CReader::~CReader(void)
{
}

CReader::CReader( const char * fileName )
:m_bOpen(false)
,m_bIsMemoryFile(false)
,m_nSize(0)
,m_pData(0)
{

}

CReader::CReader( const char * pData, unsigned int nSize )
:m_bOpen(true)
,m_bIsMemoryFile(true)
,m_nSize(nSize)
,m_pData(pData)
{

}

bool CReader::IsOpen()
{
	return m_bOpen;
}

bool CReader::IsMemoryFile()
{
	 return m_bIsMemoryFile;
}

int	 CReader::Size() const
{
	return m_nSize;
}

void * CReader::DatePtr() const
{
	return (void*)m_pData;
}

const char * CReader::StringPtr() const
{
	return m_pData;
}

void CReader::Close()
{

}

CWriter::CWriter()
{

}

CWriter::~CWriter()
{

}